<?php

/**
 * @author igor.barkowsky@gmail.com
 * @copyright 2009
 */
$action_template="main.html";
$from = 0;
$per_page = 20;
if(isset($_REQUEST['from']) and intval($_REQUEST['from']) != 0)
{
	$from = intval($_REQUEST['from']);
}
$lim_from = $from * $per_page;
if(isset($blocks)){$smarty->assign("blocks",$blocks);}
if(isset($action_template)){$smarty->assign("action_template","modules/".$this->dir.TMPL_DIR.$action_template);}
if(isset($_SESSION['message']))
{
	$smarty->assign("system_message",$_SESSION['message']);
	unset($_SESSION['message']);
}
?>